package com.lihepeng.leecode.design_patten.simple_factory;

import org.junit.Test;

public class CrouseTest {
    /**
     * 简单工厂测试类
     * jdk
     */
    @Test
    public void runTest() {
        CrouseFactory crouseFactory = new CrouseFactory();
        ICrouse crouse = crouseFactory.create(JavaCrouse.class);
        crouse.record();
    }
}
